package com.yhx.leetcode.java;

import com.alibaba.fastjson.JSON;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;

/**
 * @Author: mishuai
 * @Date: 2020/7/8 4:35 下午
 */
public class LeetCode17 {
    String[] letter_map = {" ","*","abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"};
    static List<String> res=new ArrayList<>();
    public static List<String> letterCombinations(String digits) {
        //注意边界条件
        if(digits==null || digits.length()==0) {
            return new ArrayList<>();
        }
       // iterStr(digits, "", 0);
        return res;
    }

    void iterStr(String digit,String letter,int index){

    }
    private static Map<String, String> ourChannelMap;
    static
    {
        ourChannelMap = new HashMap<>();
        ourChannelMap.put("102000906531", "102000906531");
        ourChannelMap.put("102000975783", "102000975783");
    }


    public static void main(String[] args) {
        boolean b=ourChannelMap.containsKey("12000906531");
        String bb="false";
        if(b){
            bb="true";
        }
        DateFormat dateFormat=new SimpleDateFormat("yyyy.MM.dd");
        System.out.println(        dateFormat.format(new Date()));
        System.out.printf(bb);
    }


   /* public static void main(String[] args) {
        HashSet<String> sites = new HashSet<String>();
        sites.add("Google");
        sites.add("Runoob");
        sites.add("Taobao");
        sites.add("Zhihu");
        sites.add("Runoob");     // 重复的元素不会被添加
        System.out.println(JSON.toJSONString(sites));
        sites.remove("Zhihu");
        System.out.println(JSON.toJSONString(sites));
    }*/


}
